package com.kotlin.library.injection.module

import android.app.Activity
import com.kotlin.library.injection.ActivityScope
import dagger.Module
import dagger.Provides

/**
 *
 * USER: zjw
 * DATA: 2018/11/28 0028
 * TIME: 下午 6:39
 */
@Module
class ActivityModule(private val activity: Activity) {
    @ActivityScope
    @Provides
    fun providesActivity(): Activity {
        return activity
    }
}